const ORIGIN = 'http://192.168.1.31/gongzhuyangzhi_backend'
const PATH = ''
const URL = `${ORIGIN}/${PATH}`

const DEV_ORIGIN = ''
const DEV_PATH = '/'
const DEV_URL = `${DEV_ORIGIN}/${DEV_PATH}`

const config = {
  pro: {
    URL: 'http://192.168.1.31/gongzhuyangzhi_backend/'
  },
  dev: {
    URL: 'http://192.168.1.31/gongzhuyangzhi_backend/'
  }
}

export default process.env.NODE_ENV === 'production' ? config.pro : config.dev
